package com.odm.communitymanage.core.bean
import com.google.gson.annotations.SerializedName


/**
 * @description: 登录注册的回调 实体类
 * @author: ODM
 * @date: 2020/4/19
 */
data class LoginRegisterCallback(
    @SerializedName("code")
    val code: Int,
    @SerializedName("data")
    val `data`: UserData,
    @SerializedName("message")
    val message: String
)

data class UserData(
    @SerializedName("id")
    val id: Int,
    @SerializedName("idcard")
    val idcard: String,
    @SerializedName("name")
    val name: String,
    @SerializedName("password")
    val password: String,
    @SerializedName("phone")
    val phone: String,
    @SerializedName("villageName")
    val villageName: String
)